Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

[build-tools] Delete .expo directory when preparing project#555

Open
sjchmiela wants to merge 2 commits intomainfrom
stanley/delete-expo-dir
Open

[build-tools] Delete .expo directory when preparing project#555
sjchmiela wants to merge 2 commits intomainfrom
stanley/delete-expo-dir

Conversation

@sjchmiela
Copy link
Copy Markdown
Contributor

Why

https://exponent-internal.slack.com/archives/C02123T524U/p1750714495497629

How

The prepare project phase is run for Android and iOS builds.

I'm not 100% convinced this is a good change. I worry down the build process some things may, for instance, expect the repository to be clean and, if .expo is being tracked, we'll make the working directory dirty. Isn't it better to fail here than there? What do you think?

Test Plan

Added tests.

@sjchmiela sjchmiela requested a review from brentvatne June 24, 2025 08:31
@brentvatne
Copy link
Copy Markdown
Member

maybe another alternative to this is to warn in doctor if .expo is included in your git repo. cc @keith-kurak

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants